package com.example.demo.generator.mapper;

import com.example.demo.generator.entiy.TMenu;
import com.example.demo.generator.entiy.TUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Entity com.example.demo.generator.entiy.TUser
 */
public interface TUserMapper extends BaseMapper<TUser> {

    //获取用户权限
    List<TMenu>getusermenu(@Param("uid") Integer uid);

}




